home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Windows 95 with MFC
/
Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso
/
NT
/
CODE
/
CHAP08
/
PAINT4
/
PAINT4VIEW.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-05
|
746b
|
31 lines
//***********************************************************************
//
// Paint4View.h
//
//***********************************************************************
class CPaintView : public CScrollView
{
DECLARE_DYNCREATE (CPaintView)
private:
CPoint m_ptFrom;
CPoint m_ptTo;
CPaintDoc* GetDocument () { return (CPaintDoc*) m_pDocument; }
void InvertLine (CDC*, CPoint, CPoint);
public:
virtual void OnInitialUpdate ();
protected:
virtual void OnDraw (CDC*);
afx_msg void OnLButtonDown (UINT, CPoint);
afx_msg void OnMouseMove (UINT, CPoint);
afx_msg void OnLButtonUp (UINT, CPoint);
afx_msg void OnContextMenu (CWnd*, CPoint);
DECLARE_MESSAGE_MAP ()
};